/**
 * Created by yanhao on 15/3/11.
 */
var exec = require('cordova/exec');
var MyPlugin = {};

MyPlugin.getMessage = function (success, fail) {
    return exec(success, fail, "MyPlugin", "getMessage", []);
};
MyPlugin.setMessage = function (message, success, fail) {
    exec(success, fail, "MyPlugin", "setMessage", [message]);
};
module.exports = MyPlugin;